﻿using B.S.Procurement.Error;
using MediatR;

namespace B.S.Procurement.Write.Api.Application.Command.PurchaseDetailsCommand
{
    public class UpdPurchaseDetailsCommand : IRequest<ApiResult<int>>
    {
        //主键
        public int DetailsId { get; set; }
        //产品名称
        public string ProductName { get; set; }
        //产品编号
        public string ProductNumber { get; set; }
        //规格型号
        public string Specification { get; set; }
        //建议供应商
        public int VendorId { get; set; }
        //单位
        public string Unit { get; set; }
        //数量
        public int Number { get; set; }
        //单价
        public decimal Price { get; set; }
        //总金额
        public string SumMoney { get; set; }
        //需用日期
        public DateTime DateRequired { get; set; }
        //备注
        public string Remark { get; set; }
        //采购申请主键
        public int ProcurementId { get; set; }
        //逻辑删
        public bool Del { get; set; }
    }
}
